package com.haiqi.common.persistence.entity;

import java.math.BigDecimal;
import java.util.Date;

public class VoyageReport  extends BaseSearchKey{
    private Integer id;

    private Date dateReport;

    private String goodsName;

    private BigDecimal tonnage;

    private String departure;

    private String destination;

    private String draftForward;

    private String draftAfter;

    private String des;

    private String reportBy;

    private String voyageNumber;

    private ShipInfo ship;

    private CrewUser user;

    private String shipName;  //冗余字段

    private String reportDateStr; //冗余字段

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDateReport() {
        return dateReport;
    }

    public void setDateReport(Date dateReport) {
        this.dateReport = dateReport;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public BigDecimal getTonnage() {
        return tonnage;
    }

    public void setTonnage(BigDecimal tonnage) {
        this.tonnage = tonnage;
    }

    public String getDeparture() {
        return departure;
    }

    public void setDeparture(String departure) {
        this.departure = departure == null ? null : departure.trim();
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination == null ? null : destination.trim();
    }

    public String getDraftForward() {
        return draftForward;
    }

    public void setDraftForward(String draftForward) {
        this.draftForward = draftForward == null ? null : draftForward.trim();
    }

    public String getDraftAfter() {
        return draftAfter;
    }

    public void setDraftAfter(String draftAfter) {
        this.draftAfter = draftAfter == null ? null : draftAfter.trim();
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    public String getReportBy() {
        return reportBy;
    }

    public void setReportBy(String reportBy) {
        this.reportBy = reportBy == null ? null : reportBy.trim();
    }

    public String getVoyageNumber() {
        return voyageNumber;
    }

    public void setVoyageNumber(String voyageNumber) {
        this.voyageNumber = voyageNumber == null ? null : voyageNumber.trim();
    }

    public ShipInfo getShip() {
        return ship;
    }

    public void setShip(ShipInfo ship) {
        this.ship = ship;
    }

    public CrewUser getUser() {
        return user;
    }

    public void setUser(CrewUser user) {
        this.user = user;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    public String getReportDateStr() {
        return reportDateStr;
    }

    public void setReportDateStr(String reportDateStr) {
        this.reportDateStr = reportDateStr;
    }
}